package com.baijiaoxi.utils.excel;

import com.baomidou.mybatisplus.core.metadata.IPage;

public interface CsvDataSource<D, Q>{
     IPage<D> getRecordPages(Q query, int num, int size);

    default CvsExportHelper build() {
        return new CvsExportHelper(this);
    }
}
